package cn.usian.service.serviceimpl;

import cn.usian.mapper.OrderMapper;
import cn.usian.pojo.Order;
import cn.usian.service.OrderServcie;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderServcieImpl implements OrderServcie {
        @Resource
    private OrderMapper orderMapper;

    @Override
    public Order findById(Long id) {
        return orderMapper.selectById(id);
    }
}
